[MUSIC] Hello and welcome to this, demonstration on using the screen
scraping technique in studio. [MUSIC] In this video, you will learn to create
a workflow that will scrape text from a blog posted UiPath and
store it in a Notepad. [MUSIC]
So let's begin. [MUSIC] Open a blog post on UiPath
website www.uipath.com. [MUSIC] Go to UiPath studio and click the screen
scraping button from the design ribbon. [MUSIC] Indicate the text that you want to
capture from the UiPath blog page. [MUSIC] In the screen scraper wizard, you can see that there are three different
scraping methods from the dropdown. These are native, full text and OCR,
choose each of them one by one, to see the results in the preview area. [MUSIC] Click the scraping method,
drop down and select native. Click the refresh button and
see the preview. [MUSIC] You can see in the preview area, that the native method
successfully scrapes the data. Now let's try the other
two methods as well. Click the scraping method drop down and select OCR, click the refresh button. [MUSIC] You can see the output of OCR is in the
paragraph style, as it was on the website. [MUSIC] Click the scraping method dropdown,
select full text. Click the refresh button and
see the preview, the text is scraped and full without formatting. [MUSIC] Click the finish button
to save the changes. [MUSIC] A sequence named screen scraping
is automatically created when the finish button is clicked. Inside the sequence, the wizard has
created an attached browser activity. And within it a get full text activity
is created in the do container, which has captured the paragraph. Search for a right text file activity
in the activities panel and drag and drop it below the attached
browser activity. [MUSIC] Rename it as, extracted text.txt [MUSIC] Select the get full text activity and
in its properties panel, you can see that the output
variables name is P. Which screen scraper
wizard picks by default. In the first text box of write text
file activity, enter this variable P. [MUSIC] And in the second text box
enter the file name as, extracted text.txt in double quotes. Please note that the txt file
will be created automatically in the project folder. [MUSIC] Save the project and run it. [MUSIC] Open the saved notepad,
to see if the scraped content is stored. [MUSIC] You can see that the content
is stored in the file. This concludes our demonstration
on screen scraping, it is encouraged to create
the workflow as demonstrated. Thank you for watching.